def plugin_deleter2(index, status, sim_number, text, interfaces):

    interfaces['org.freesmartphone.GSM.SIM'].DeleteMessage(
        index,
        reply_handler=lambda:sys.stdout.write('message deleted'),
        error_handler=lambda x:sys.stdout.write('message deleted')
    )

